home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 3
/
Precision Software Applications Silver Collection Volume Three (PSM) (1993).iso
/
drivers
/
win31sfx.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-14
|
5KB
|
112 lines
@echo off
echo off
cls
if (%ATI_SND%) == () goto NOSFX
if () == (%1) goto NO_ARG
if (a:) == (%1) goto FDISK
if (b:) == (%1) goto FDISK
if (A:) == (%1) goto FDISK
if (B:) == (%1) goto FDISK
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ───────────────────────────────────────────────────────────
echo ERROR: Invalid drive specified.
echo You must use drive A: or B:
echo ───────────────────────────────────────────────────────────
echo
goto DONE
:NOSFX
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo ERROR: Can't find ATI_SND in environment!
echo Please add the following line to your AUTOEXEC.BAT:
echo
echo SET ATI_SND=C:\SFX\
echo
echo NOTE: Trailing backslash required.
echo ─────────────────
echo If you have not previously installed the ATI Stereo■F/X
echo software diskettes that came with the card, please do it now.
echo This is necessary for this batch file to function correctly.
echo ───────────────
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:NO_ARG
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo This batch file needs to know what drive you wish to install
echo the files on. You must install this to a diskette.
echo ─────────────────────────
echo │ Usage: INSTALL [drive]: │
echo ─────────────────────────
echo Example: INSTALL A:
echo
goto DONE
:FDISK
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo This batch file will conveniently extract this
echo diskette to a 360K or 720K floppy.
echo ─────────────────
echo Please ensure that you have a blank/formatted
echo 360K or 720K diskette ready before you continue.
echo ─────────────────
echo Press any key to continue the installation
echo or CONTROL-C to abort.
echo
pause >nul
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo Decompressing...
sfx31 /e%1
if ERRORLEVEL == 0 goto OK
goto ERROR
:OK
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo The Windows 3.1 Stereo■F/X drivers have been successfully
echo copied to floppy. You must read the READ.ME located on this
echo disk to correctly install the sound drivers.
echo ─────────────────
echo The next step is to replace the older version of WINDAT that is
echo currently on your hard drive. The new WINDAT is compatible
echo with Windows 3.1. If you do not wish to install the new WINDAT,
echo at this time, press CTRL-C now. WINDAT can be installed at
echo any time by using the INSTDAT.BAT batch file.
echo ─────────────────
echo Press any key to install WINDAT, or CTRL-C to abort.
echo
pause >nul
instdat
:ERROR
cls
echo ╒══════════════════════╕
echo │ Installation failed! │
echo ╘══════════════════════╛
echo ───────────────
echo The installation has failed. Reformat the diskette
echo and try the installation again. If the problem persists
echo either download the file again, or contact ATI Customer
echo Support for assistance.
echo ───────────────
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
:DONE